home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-09-16 | 2.5 KB | 155 lines | [TEXT/MMCC] |
- /* TBConstants.h
- * Constants for use in the Testbed word processor
- * ©1992 Working Software, Inc.
- * This source code is copyrighted. Permission is granted to use the Word Services
- * portion of the Writeswell Jr. source code in your own programs, but you
- * may not distribute the Writeswell Jr. word-processor code as a
- * commercial product. If you modify the code, please do not call it
- * Writeswell Jr. (or Writeswell.) This will ensure that people understand the
- * program and don’t have to deal with a number of different versions with
- * who-knows-what going on in the code.
- *
- * Writeswell Jr. and Writeswell are trademarks of Working Software, Inc.
- * 18 Dec 91 Mike Crawford
- */
-
- enum {
- kDocWindowID = 128 /* Resource ID of document window */
- };
-
- enum {
- kMBarID = 128
- };
-
- enum {
- kAppleMenuID = 128,
- kFileMenuID,
- kEditMenuID,
- kFontMenuID,
- kStyleMenuID,
- kServMenuID,
- kRegMenuID
- };
-
- enum {
- kAMAboutMe = 1,
- kAMDash
- };
-
- enum {
- kFMNew = 1,
- kFMOpen,
- kFMClose,
- kFMSave,
- kFMSaveAs,
- kFMDash1,
- kFMPageSetup,
- kFMPrint,
- kFMDash2,
- kFMQuit
- };
-
- enum {
- kEMUndo = 1,
- kEMDash,
- kEMCut,
- kEMCopy,
- kEMPaste,
- kEMClear,
- kEMDash2,
- kEMSelectAll,
- kEMDash3,
- kEMOptions
- };
-
- enum {
- kStMPlain = 1,
- kStMBold,
- kStMItalic,
- kStMUnderline,
- kStMOutline,
- kStMShadow,
- kStMCondense,
- kStMExtend,
- kStMDash,
- kStM9Point,
- kStM10Point,
- kStM12Point,
- kStM14Point,
- kStM18Point,
- kStM24Point,
- kStM48Point,
- kStM72Point,
- kStMDash2,
- kStMOtherPoint
- };
-
- enum {
- kRMAboutMe = 1,
- kRMRegister
- };
-
- #ifdef NEVER /* These will return in a future version */
- enum {
- kSMCheckSel = 1,
- kSMNewBatch,
- kSMNewInteractive,
- kSMRemoveService,
- kSMCheckWord,
- kSMStopIntCheck,
- kSMDash
- };
- #endif
-
- enum {
- kSMNewBatch = 1,
- kSMRemoveService,
- kSMDash
- };
-
- enum {
- kAboutMeID = 129 /* About TestBed resource ID */
- };
-
- enum {
- kCustomSizeID = 130
- };
-
- enum {
- kCSOK = 1,
- kCSCancel,
- kCSDefUser,
- kCSPrompt,
- kCSEntryField
- };
-
- enum {
- kVertScrollBarID = 1000 /* Vertical document window scroll bar */
- };
-
- #define kMiscStringID 128 /* STR# prefs file name and such */
-
- enum {
- kPreferencesFileNameStr = 1 /* Name of preferences file */
- };
-
- #define kMaxServices 16
-
- #define rAskSaveID 133
-
- #define rStyleID 128
-
- enum {
- kASSave = 1,
- kASDontSave,
- kASPromptText,
- kASCancel
- };
-
- #define rPrintRecID 128 /* Print record resource ID in the preferences file */
-
- #define rVersID 1 /* Resource ID of 'vers' Resource */
- #define kAVersItem 2 /* User item for displaying version number */
-
- #define kTextInset 4 /* Inset of text field from window edge */
-